package cn.silver.framework.tenant.domain;

import cn.silver.framework.mybatis.domain.BusEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 租户基类
 *
 * @author Silver Zhou
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(name = "TenantEntity", title = "租户数据对象")
public class TenantEntity extends BusEntity {

    /**
     * 租户编号
     */
    @Schema(title = "归属租户")
    private String tenantId;

}
